<?php
/**
 * Created by PhpStorm.
 * User: openoter
 * Date: 2018/12/9
 * Time: 23:33
 */

namespace app\admin\validate;


use think\Validate;

class Teacher extends Validate {
    protected $rule = [
        ['name','require','请输入教师姓名'],
        ['status', 'require|in:1,2', '请选择正确的状态|']
    ];
}